package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.loippi.dao.DetailsDao;
import com.framework.loippi.entity.Details;
import com.framework.loippi.service.DetailsService;
import java.util.List;
/**
 * SERVICE - Details(药品规格库存价格管理)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class DetailsServiceImpl extends GenericServiceImpl<Details, Long> implements DetailsService {
	
	@Autowired
	private DetailsDao detailsDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(detailsDao);
	}

	public List<Details> findListByPage(Object parameter){
		return detailsDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return detailsDao.deletes( parameter);
	}
	
	
}
